<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";	
%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="e" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="<%=basePath %>static/css/plugins/bootstrap-3.3.7/css/bootstrap.css" />
<script src="<%=basePath %>static/js/jquery-3.7.1.min.js"></script>
<script src="<%=basePath %>static/css/plugins/bootstrap-3.3.7/js/bootstrap.js"></script>
<title>Insert title here</title>
</head>
 <body>
 <div>
    <div class="container">
        <div class="panel panel-default">
            <div class="panel-heading">
                <span class="glyphicon glyphicon-th-list" aria-hidden="true"></span>
               欢迎使用嗖嗖移动大厅
            </div>
        </div>
        <table class="table table-bordered">
            <tr>
                <th>主菜单列表</th>
            </tr>
            <tr>
                <td>功能</td>
                <td>选择</td>
            </tr>
            <e:forEach var="e" items="${list }">
	            <tr>
	            	<td>${e.mainmenu }</td>
	            	<td>
                    <a class="btn btn-primary btn-xs" href="<%=basePath %>mainmenu/${e.id}">进入</a>
                	</td>
	            </tr>
            </e:forEach>
         
        </table>

    </div>

</div>

</body>

</html>